﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using WebApplication2.Models;

namespace WebApplication2.DB
{
    public class EfContext : BaseDbContext
    {
        public EfContext(DbContextOptions options) : base(options) { }
        #region 实体引用
        public DbSet<Goods> Goods { get; set; }
        public DbSet<Orders> Orders { get; set; }
        public DbSet<Users> Users { get; set; }

        #endregion

    }
}
